import React from 'react';
import { Decoration5 } from '@jiaminghi/data-view-react';
const HeaderTitle = (props) => {
  const { title } = props;
  return (
    <div style={{ marginTop: '40px' }}>
      <div
        style={{
          textAlign: 'center',
          fontSize: '18px',
          fontWeight: 'bold',
          color: 'white',
          marginBottom: '-15px',
        }}
      >
        {title || ''}
      </div>
      <Decoration5
        style={{ width: '300px', height: '40px', margin: '0 auto' }}
        color={['#ada6f5', '#5743bf']}
      />
      ;
    </div>
  );
};
export default HeaderTitle;
